package com.weiyu.bultrasound.core.model.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;


@Builder
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class Users implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value="主键id")
    private Long id;

    @ApiModelProperty(value="账号")
    private String account;

    @ApiModelProperty(value="密码")
    private String password;

    @ApiModelProperty(value="中文姓名")
    private String name;

    @ApiModelProperty(value="手机号")
    private String mobile;

    @ApiModelProperty(value="性别")
    private Integer sex;

    @ApiModelProperty(value="账号状态 1、已激活  0、禁用")
    private Integer status;

    @ApiModelProperty(value="最后登录时间")
    private Date loginDate;

    @ApiModelProperty(value="注册时间")
    private Date registerTime;

    @ApiModelProperty(value="最后修改时间")
    private Date modifyTime;

}